/**
 * BaseAreaMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-05-15  Created
 */
package com.lzy.cloud.base.mapper;

import com.lzy.cloud.base.dto.BaseAreaDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaseAreaMapperExt extends BaseAreaMapper {

    List<BaseAreaDto> getList();

    List<BaseAreaDto> getListByParentId(@Param("parentId") Long parentId);

    BaseAreaDto getAreaByCode(int code);

    BaseAreaDto findByAreaId(Long id);
}